﻿<%@ Page Title="" Language="C#" MasterPageFile="~/master/Site.Master" AutoEventWireup="true"
	CodeBehind="Locations.aspx.cs" Inherits="Hematology.UserSite.admin.Locations" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphHead" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphRecent" runat="server">
	<hmt:PageTitle runat="server" ID="ptTitle" Text='<%$ Resources:UserSite, resCountriesCities %>' />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphHeadNews" runat="server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="cphBody" runat="server">
	<asp:UpdatePanel runat="server" ID="upLocations">
		<ContentTemplate>
			<div class="container2">
				<div id="left-div">
					<div class="adminPanelComboContainer">
						<asp:Panel runat="server" ID="pnlCountries" CssClass="adminPanelCombo">
							<div class="adminPanelComboTitle">
								<asp:Label runat="server" ID="lblCountry" Text='<%$ Resources:UserSite, resCountry %>' />
							</div>
							<asp:DropDownList runat="server" ID="ddlCountry" DataTextField="Name" DataValueField="Id"
								OnSelectedIndexChanged="ddlCountry_SelectedIndexChanged" AutoPostBack="true" />
						</asp:Panel>
						<asp:Panel runat="server" ID="pnlRegions" CssClass="adminPanelCombo">
							<div class="adminPanelComboTitle">
								<asp:Label runat="server" ID="lblRegion" Text='<%$ Resources:UserSite, resRegion %>' />
							</div>
							<asp:DropDownList runat="server" ID="ddlRegion" DataTextField="Name" DataValueField="Id"
								OnSelectedIndexChanged="ddlRegion_SelectedIndexChanged" AutoPostBack="true" />
						</asp:Panel>
					</div>
					<div class="letterList">
						<asp:Repeater runat="server" ID="rptAlphabetLinks" OnItemCommand="rptAlphabetLinks_ItemCommand">
							<ItemTemplate>
								<asp:LinkButton runat="server" ID="btnLetter" Text='<%# Container.DataItem %>' CommandName="FilterByName"
									CommandArgument='<%# Container.DataItem %>' />
							</ItemTemplate>
						</asp:Repeater>
					</div>
					<asp:Repeater runat="server" ID="rptGeoPoint">
						<HeaderTemplate>
							<div class="checkBoxList">
						</HeaderTemplate>
						<ItemTemplate>
							<div class="singleCheckBox singleCheckBox_<%# Eval("IsVisible") %>'">
								<asp:CheckBox ID="cbIsVisible" runat="server" Text='<%# Eval("Name") %>' Checked='<%# Eval("IsVisible") %>' />
							</div>
						</ItemTemplate>
						<FooterTemplate>
							</div>
						</FooterTemplate>
					</asp:Repeater>
					<div class="editorBlock">
						<div class="editorBlockButton">
							<asp:Button runat="server" ID="btnSave" Text='<%$ Resources:UserSite, resSave %>'
								OnClick="btnSave_Click" />
						</div>
					</div>
				</div>
			</div>
		</ContentTemplate>
	</asp:UpdatePanel>
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="cphPanel" runat="server">
	<div class="sidebar-box">
		<h2>
			<asp:Label runat="server" ID="lblSiteTitle" Text='<%$ Resources:UserSite, resGeographicPoints %>' />
		</h2>
		<ul>
			<li><a href="../admin/Locations.aspx?ct=Countries">Страны</a></li>
			<li><a href="../admin/Locations.aspx?ct=Regions">Регионы</a></li>
			<li><a href="../admin/Locations.aspx?ct=Cities">Города</a></li>
		</ul>
	</div>
</asp:Content>
